package com.zhaimm.mall.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhaimm.mall.bean.UserInfo;
import com.zhaimm.mall.service.OrderService;
import com.zhaimm.mall.service.UserInfoService;

@Service
public class OrderServiceImpl implements OrderService{

	
	@Autowired
	UserInfoService userInfoService;

	public void initOrder(String id) {
		
		List<UserInfo> list =userInfoService.getUserInfoList(id);
		
		for(UserInfo user:list) {
			System.out.println(user.getPhone());
		}
	}
	
	
	
}
